package com.kgc.ebook.ebookmanager.service;

import com.kgc.ebook.ebookmanager.mapper.EbookcategoryMapper;
import com.kgc.ebook.ebookmanager.pojo.Ebookcategory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EbookcategoryServiceImpl implements  EbookcategoryService{
    @Resource
    EbookcategoryMapper ebookcategoryMapper;
    @Override
    public List<Ebookcategory> selectAll() {
        List<Ebookcategory> ebookcategoryList=ebookcategoryMapper.selectByExample(null);
        System.out.println("测试成功!!!");
        return ebookcategoryList;
    }
}
